package com.useful.secure.config;

import com.useful.secure.aspect.AuthAspect;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

/**
 * @author : wenchao.long
 * @date : Created in 2021/9/23 21:52 周四
 * @description :
 */
@Order(-1)
@Configuration(proxyBeanMethods = false)
public class SecureConfiguration {

    @Bean
    public AuthAspect authAspect() {
        return new AuthAspect();
    }
}
